package com.ruoyi.walmart.mapper.Inventory;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.walmart.domain.Inventory.FulfillmentInventory;
import com.ruoyi.walmart.domain.InventoryLog.FulfillmentInventoryLog;
import com.ruoyi.walmart.domain.InventoryLog.InventoryLogSearch;
import com.ruoyi.walmart.domain.auth.ShopAuth;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FulfillmentInventoryLogMapper extends BaseMapper<FulfillmentInventoryLog> {

    /** 批量添加存储
     *
     * @param fulfillmentInventoryLogList 参数
     * @return 结果
     */
    int fulfillmentInventoryLogInsertList(List<FulfillmentInventoryLog> fulfillmentInventoryLogList);
    /**
     * 库存日志数据
     * @param fulfillmentInventoryLog
     * @return
     */
    List<FulfillmentInventoryLog> selectInventoryLogList(FulfillmentInventoryLog fulfillmentInventoryLog);
    /**
     * 获取链接最新日志记录
     * @param
     * @return
     */
    List<InventoryLogSearch> getInventoryLog(ShopAuth shopAuth);
    /**
     * 获取链接最新（入库）日志记录
     * @param
     * @return
     */
    List<InventoryLogSearch> getInventoryInboundLog(ShopAuth shopAuth);
}
